package com.zy.batiya.service;

import java.util.List;
import java.util.Map;

import com.zy.batiya.domain.InventoryItem;
import com.zy.batiya.domain.Pager;
import com.zy.batiya.dto.InventoryItemDTO;

public interface InventoryItemService {
  
  public void insert(InventoryItem obj);
  
  public List<Map<String,String>> searchInventory(Map<String,String> map);
  
  public void update(InventoryItem obj);
  
  public InventoryItem findById(int id);
  
  public void init(String pid,String uid,String begin,String end);
  
  public Pager<List<InventoryItem>> list(Pager<InventoryItemDTO> pager) throws Exception;
}
